#ifndef __WIFI_AT_H
#define __WIFI_AT_H


 /* Weather */
typedef struct
{
    char *text;
    char *code;
    char *temp;
    char *update;

} Weather_Info_t;

/*=========================
   WiFi AT Configuration
 *=========================*/
#define ESP_AT_BAUD 115200

#define SSID        "ChinaNet-ZAtL"
#define PASSWORD    "13739771346LB"

#define HOST_NAME   "api.seniverse.com"
#define HOST_PORT   (80)

#define KEY "ScbGI2ZM8dt_cGofa"

bool wifi_init(void);
bool wifi_connecting();
void GetWeather(char *location, Weather_Info_t *info);

#endif 